package com.yykj.pay.server.param;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * @Author zeng
 * @Date 2022/4/8
 */
@Data
public class PageParam {

    @NotNull
    @ApiModelProperty(value = "分页参数，默认查询所有",example = "1",required = true)
    private Integer pageNum;

    @NotNull
    @ApiModelProperty(value = "分页参数，默认查询所有",example = "20",required = true)
    private Integer pageSize;

    @ApiModelProperty(value = "排序规则 'DESC','ASC'",example = "DESC")
    private String orderType;

    @ApiModelProperty("排序标识（列表字段）")
    private String orderByField;
}
